package come.example.domain.strategy.service;

/*
抽奖策略接口
 */

import come.example.domain.strategy.model.entity.RaffleAwardEntity;
import come.example.domain.strategy.model.entity.RaffleFactorEntity;

public interface IRaffleStrategy {
    /**
     * 执行抽奖：用抽奖因子入参，执行抽奖计算，返回奖品信息
     * @param raffleFactorEntity
     * @return 抽奖的奖品
     */
    RaffleAwardEntity performRaffle(RaffleFactorEntity raffleFactorEntity);

}
